#include "PackageEvent.h"

namespace Impp
{

DEFINE_EVENT_TYPE(EVT_PACKAGE) 

PackageEvent::PackageEvent(OscarServerCon* src, Flap* flap,  wxEventType eventType, int id) :
	wxNotifyEvent(eventType,id),src(src),flap(flap)
{
}

PackageEvent::~PackageEvent()
{
}

wxEvent* PackageEvent::Clone()const{
	return new PackageEvent(*this);
}
Flap* PackageEvent::getFlap(){
	return flap;
}
OscarServerCon* PackageEvent::getSource(){
	return src;
}

}
